package xyz.xtt.asset.client.request;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeliverRequest {
	@NotNull(message = "请提供目标用户")
	private Long targetUid;
	@NotNull(message = "请提供资产id")
	private Long assetId;
	@NotNull(message = "请提供资产id")
	private Long entitlementId;
	private String orderNo;
	/**
	 * 扩展参数，以json形式给
	 */
	private String externParm;
	@NotNull(message = "请提供活动类型 ActivityTypeEnum 枚举")
	private String activityType;
	/**
	 * 上次的结果
	 */
	private ExecDeliverResult beforeResult;
	/**
	 * 上次的响应
	 */
	private String beforeReqponse;
}
